<div class="messageWrap">
	{{each records as rec index}}
		<div class="messagelist {{if rec.is_read}}bg-gray{{/if}}">
			<div class="hd">
				<span class="title red" title="{{rec.info}}">{{substring(rec.info,10)}}</span>
				<span class="date">{{dateFormat(rec.addTime,'yyyy-MM-dd hh:mm:ss')}}</span>
			</div>
			<div class="bd">
				<ul class="ul-mes">
					<li class="col1">
						<div class="libox">
							{{substring(rec.content,100)}} 
						</div>
					</li>
					<li class="col2">
						<div class="libox">
							模块：
							{{if rec.module_type==1}}
								<a href="#goods/salegoods/{{rec.rele_id_value}}">商品管理</a>
							{{else if rec.module_type==2}}
								<a href="#order/order//{{rec.rele_id_value}}">订单管理</a>
							{{else if rec.module_type==3}}
								<a href="#order/adminlist/{{rec.rele_id_value}}">用户管理</a>
							{{else if rec.module_type==4}}
								<a href="#order/subscribe/{{rec.rele_id_value}}">订阅管理</a>
							{{/if}}
						</div>
					</li>
					<li class="col2">
						<div class="libox">
							状态：{{rec.is_read?'已处理':'未处理'}}
						</div>
					</li>
					<li class="col2">
						<div class="libox center">
							{{if !rec.is_read}}
							<p>
								<button record-id="{{rec.id}}" class="btn btn-primary handle-btn">已处理</button>
							</p>
							{{/if}}
							<p>
								<a record-id="{{rec.id}}" href="javascript:void(0)" class="color_1c75bf del-btn">删除</a>
							</p>
						</div>
					</li>
				</ul>
				<div class="clearit"></div>
			</div>
		</div>
	{{/each}}
</div>